function img_matrix = best_five(correct, I);

if(correct == false)
    im = image_read(0,0,'pgm');
else
    [d i] = get_dir_and_file(I(1), 10);
    im = image_read(d, i, 'pgm');
end

img_matrix = im;

for i = 2:5
    if(length(I) > i)
        [d i] = get_dir_and_file(I(i), 10);
        im = image_read(d, i, 'pgm');
        img_matrix = [img_matrix im];
    end
end